package com.tz.tzgw.pc.web.model;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;

public class ZtVideoCate {
    private Long id;
    @NotEmpty(message = "名称不能为空")
    private String name;
    @Min(value = 1, message = "请选择栏目")
    private Long setid;
    private Integer sort_order;



    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getSetid() {
        return setid;
    }

    public void setSetid(Long setid) {
        this.setid = setid;
    }


    public Integer getSort_order() {
        return sort_order;
    }

    public void setSort_order(Integer sort_order) {
        this.sort_order = sort_order;
    }

}